home *** CD-ROM | disk | FTP | other *** search
- /* graphics:
- gxFont menu library interfaces
- by Cary Clark, Georgiann Delaney, Michael Fairman, Dave Good, Robert Johnson, Keith McGreggor, Mike Reed, Oliver Steele, David Van Brink, Chris Yerga
- Copyright ©1987 - 1991 Apple Computer, Inc. All rights reserved.
- */
-
- #ifndef fontMenuLibraryIncludes
- #define fontMenuLibraryIncludes
-
- #ifndef __Menus__
- #include <Menus.h>
- #endif
-
- #ifndef fontTypesIncludes
- #include "font types.h"
- #endif
-
- #ifndef graphicsTypesIncludes
- #include "graphics types.h"
- #endif
-
- #ifndef fontRoutinesIncludes
- #include "font routines.h"
- #endif
-
- enum {
- noInstancesFontMenu = 1
- };
- typedef long fontMenuAttribute;
-
- typedef boolean (*fontFilterProc)(gxFont fontID);
-
- void SortMenu(MenuHandle);
- long FontMenu(MenuHandle);
- long FontPlatformMenu(MenuHandle menu, gxFontPlatform platform, gxFontScript script, gxFontLanguage language);
- long FontFamilyMenu(MenuHandle);
- long FontFamilyPlatformMenu(MenuHandle menu, gxFontPlatform platform, gxFontScript script, gxFontLanguage language);
- MenuHandle FontStyleMenu(short menuID, gxFont family);
- short HierFontMenu(MenuHandle theMenu, short firstHierMenuID, fontFilterProc proc, fontMenuAttribute attr);
- gxFont DoHierFontMenuCommand(long menuResult, short hierFontMenuID, long *instanceIndex);
- short DoHierFontMenuCommandStyle(long menuResult, short hierFontMenuID,gxStyle aStyle, long matchInfo);
- short DoHierFontMenuCommandShape(long menuResult, short hierFontMenuID,gxShape aShape);
- gxFont QDToFont(long fondID, long styleBits);
- long FontToQD(gxFont fontID, long* styleBits);
- void FontFeatureMenu(MenuHandle menu, gxFont fontID, short firstHierMenuID);
-
-
- #endif
-